package com.hw.entity.dto.task;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 任务
 *
 * @author Xg
 * @date 2021/6/28 15:18
 */
@Data
public class TaskDTO {

    /**
     * 商家id
     */
    @ApiModelProperty(value = "商家id")
    private String storeId;

    /**
     * 截止时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "截止时间")
    private LocalDateTime endTime;

    /**
     * 点餐标题
     */
    @ApiModelProperty(value = "点餐标题")
    private String taskTitle;
}
